Week 2 - Blink Using OS
Main Page
Modules
Data Structures
Files
File List
Globals
bsp.c
Go to the documentation of this file.
1
/**************************************************
2
* Texas A&M University
3
* Electronic Systems Engineering Technology
4
* ENTC-489 Embedded Real Time Software Development
5
* Author: mike
6
* File: bsp.c
7
**************************************************/
13
#include <stdint.h>
14
#include <stdbool.h>
15
#include "
bsp.h
"
16
17
/**************************************************/
20
/**************************************************/
21
22
/**************************************************/
26
void
init_gpio
(
void
)
27
{
28
ROM_SysCtlPeripheralEnable(LAUNCH_GPIO_PORT);
29
ROM_SysCtlPeripheralEnable(BOOST_GPIO_PORT);
30
31
GPIOPinTypeGPIOOutput(LAUNCH_GPIO_BASE,LAUNCH_OUTPUT_MASK);
32
GPIOPinTypeGPIOOutput(BOOST_GPIO_BASE,BOOST_OUTPUT_MASK);
33
}
/* init_gpio () */
34
35
/**************************************************/
37
/* Close of Doxygen group BSP
38
**************************************************/
bsp.h
init_gpio
void init_gpio(void)
Definition:
bsp.c:26
Generated on Mon Feb 2 2015 20:06:10 for Week 2 - Blink Using OS by
1.8.9.1